package com.arpa.oms.domain.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.arpa.oms.domain.enums.PayableAndReceivableStatusEnum;
import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * OMS接单设置
 * </p>
 *
 * @author rfwang
 * @since 2021-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="OmsOrderSet对象", description="OMS接单设置")
public class OmsOrderSet extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "接单单号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "收货人标识")
    @TableField("shipment_code")
    private String shipmentCode;

    @ApiModelProperty(value = "收货人名称")
    @TableField("shipment_name")
    private String shipmentName;

    @ApiModelProperty(value = "平台标识")
    @TableField("platform_code")
    private String platformCode;

    @ApiModelProperty(value = "平台名称")
    @TableField("platform_name")
    private String platformName;

    @ApiModelProperty(value = "店铺标识")
    @TableField("shop_code")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    @TableField("shop_name")
    private String shopName;

    @ApiModelProperty(value = "店铺ID")
    @TableField("shop_id")
    private String shopID;

    @ApiModelProperty(value = "时间间隔")
    @TableField("inteval")
    private String inteval;

    @ApiModelProperty(value = "状态，0-启用，1-停用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "定时表达式")
    @TableField("cron")
    private String cron;

}
